// R_BPA.h: interface for the CR_BPA class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_R_BPA_H__363F771D_8588_441C_812F_84B5D898A11B__INCLUDED_)
#define AFX_R_BPA_H__363F771D_8588_441C_812F_84B5D898A11B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Branch_BPA.h"

class BPAFILEDLL_API CR_BPA : public CBranch_BPA  
{
public:
	friend class CFile_DAT;
public:
	CR_BPA();
	virtual ~CR_BPA();

public:
	CR_BPA(CR_BPA &rBPA);

	char* m_chVarTap;
    char m_chrmteBusName[9];
	double m_drmtekV;
    double m_dTmax;
	double m_dTmin;
	int m_nTaps;
	//char m_chID;

protected:
	bool Equals(char *strTName1,double TkV1,char *strTName2,double TkV2);
	bool UpdateEx(char* buffer);
	bool FillEx(char* buffer);
};

#endif // !defined(AFX_R_BPA_H__363F771D_8588_441C_812F_84B5D898A11B__INCLUDED_)
